<ul class="steps-bar steps-bar--dark cl tm10">
    <li class="step step--first step--post" style="z-index:3">
        <span class="step__num">1.</span>
        <span>确认账号</span>
        <span class="arrow__background"></span>
        <span class="arrow__foreground"></span>
    </li>
    <li class="step step--current" style="z-index:2">
        <span class="step__num">2.</span>
        <span>验证/修改</span>
        <span class="arrow__background"></span>
        <span class="arrow__foreground"></span>
    </li>
    <li class="step step--post" style="z-index:1">
        <span class="step__num">3.</span>
        <span>完成</span>
        <span class="arrow__background"></span>
        <span class="arrow__foreground"></span>
    </li>
</ul>
<div class="getpwddone_layer">
    <?php
//    print_r($ckjson);
    $form = $this->beginWidget('CActiveForm', array(
        'id' => 'newpwd-form',
        'enableClientValidation' => true,
        'clientOptions' => array(
            'validateOnSubmit' => true,
        ),
    ));
    if($ckjson['pass'] == 1):
        
    
    ?>
    <?php echo $form->hiddenField($model, 'uid', array('value' => $ckjson['uid'])); ?>
    <div class="infolist cols1 cl tm20">
        <div class="col cl">
            <div class="tit"><?php echo $form->labelEx($model, 'newpassword'); ?></div>
            <div class="inp cl"><div class="text"><?php echo $form->passwordField($model, 'newpassword', array('style' => 'width:207px')); ?><span></span></div></div>
        </div>
    </div>
    <div class="infolist cols1 cl clpd_all">
        <div class="col cl">
            <div class="tit"></div>
            <div class="inp cl"><?php echo $form->error($model, 'newpassword'); ?></div>
        </div>
    </div>
    <div class="infolist cols1 cl tm20">
        <div class="col cl">
            <div class="tit"><?php echo $form->labelEx($model, 'newpassword_repeat'); ?></div>
            <div class="inp cl"><div class="text"><?php echo $form->passwordField($model, 'newpassword_repeat', array('style' => 'width:207px')); ?><span></span></div></div>
        </div>
    </div>
    <div class="infolist cols1 cl clpd_all">
        <div class="col cl">
            <div class="tit"></div>
            <div class="inp cl"><?php echo $form->error($model, 'newpassword_repeat'); ?></div>
        </div>
    </div>
    <div class="infolist cols1 cl">
        <div class="col cl">
            <div class="tit"></div>
            <div class="inp cl">
                <?php echo CHtml::submitButton('修改密码', array('class' => 'submit submit_orange')); ?>
            </div>
        </div>
    </div>
    
    <?php
        endif;
        if($ckjson['pass'] == 0):
    ?>
    
    <div class="getpwddone_layer">
        <div class="tips cl">
            <span class="cmiconserror z"></span>
            <span class="txt z">非法的链接</span></span>
        </div>
    </div>
    
    <?php
        endif;
    ?>
    <?php $this->endWidget(); ?>
</div>